Skip to content

QuadDictionary.Add(TKey, TValue) method

Defined in

Type: QuadDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public void Add(TKey key, TValue value)

View source (opens in a new tab)

Summary: Adds the specified key and value to the dictionary.

Parameters

NameTypeDescription
keyTKeyThe key of the element to add.
valueTValueThe value of the element to add.

Exceptions

TypeCondition
System.ArgumentException (opens in a new tab)An element with the same key already exists.